<div class="container" ng-controller="controller_myfamily">
	<div class="header">
		<a href="#/home" class="return"></a>
		<div class="l-icon">
			<span class="i"><img src="../resources/images/logo_l.png" /></span>
			<span class="t">我的</span>
		</div>
		
		<a href="javascript:void(0)" ng-click="gotoBind()" class="right-do">绑定</a>
	</div>
	<div style="height:46px;width:100%;"></div>
	
	<div class="older-call-list">
		<ul>
			<li ng-repeat="familyItem in familyList">
				<a href="javascript:void(0)" ng-click="openfamilydata(familyItem.account, familyItem.user_type)">
					<!-- 头像 -->
					<span class="ava f-l">
						<img class="ava" ng-if="familyItem.icon != '' && familyItem.icon != null" ng-src="{{imagebasepath + familyItem.icon}}" />
						<img class="ava" ng-if="(familyItem.icon == '' || familyItem.icon == null) && familyItem.sex == '2'" src="../resources/images/avator_f.png" />
						<img class="ava" ng-if="(familyItem.icon == '' || familyItem.icon == null) && familyItem.sex != '2'" src="../resources/images/avator_m.png" />
					</span>
					<!-- 电话信息 -->
					<span class="info f-l l">
						<p ng-bind="(familyItem.name != null && familyItem.name != '') ? familyItem.name : familyItem.junciCode" class="name"></p>
						
						<p class="name" ng-if="familyItem.mobile != null && familyItem.mobile != ''"><i ng-bind="familyItem.mobile" class="icon-mobile"></i></p>
						
						<p class="name" ng-if="(familyItem.province_name != null && familyItem.province_name != '' ? familyItem.province_name : '') + 
						(familyItem.city_name != null && familyItem.city_name != '' ? familyItem.city_name : '') + 
						(familyItem.county_name != null && familyItem.county_name != '' ? familyItem.county_name : '') + 
						(familyItem.cur_address != null && familyItem.cur_address != '' ? familyItem.cur_address : '') != ''">地址：
						<i ng-bind="(familyItem.province_name != null && familyItem.province_name != '' ? familyItem.province_name : '') + 
						(familyItem.city_name != null && familyItem.city_name != '' ? familyItem.city_name : '') + 
						(familyItem.county_name != null && familyItem.county_name != '' ? familyItem.county_name : '') + 
						(familyItem.cur_address != null && familyItem.cur_address != '' ? familyItem.cur_address : '')"></i></p>
						
						<p class="name">所属：
						<i ng-bind="familyItem.organization_name"></i></p>
					</span>
					
					<span class="arrow"><img src="../resources/images/a5.png"></span>
				</a>
			</li>
		</ul>
	</div>
</div>
<style type="text/css">
	body{background: #fff!important;}
</style>